#ifndef MAIN_H
#define MAIN_H

#include <iostream>
#include <pthread.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/input.h>
#include <unistd.h>
#include <vector>
#include <random>       //随机数类


#include "2048.h"
#include "snake.h"
#include "bmp.h"
#include "font.h"
#include "game.h"
#include "keyBoard.h"
#include "lcd.h"
#include "MusicPlayer.h"
#include "showfont.h"
#include "swipedetector.h"
#include "TicTacToe.h"
#include "user.h"
#include "TimeDisplay.h"
#include "VideoPlayer.h"

using namespace std;

//用于返回游戏选择标识类
class ReturnInterfaceFlag 
{
public:
    int interfaceFlag;//界面路径标志
    bool userLoginFlag;//用户登录标志
    std::string UserName;//登录的用户名
};
/*
使用方法：
    ReturnInterfaceFlag flag; 
    flag.interfaceFlag = 0;
    flag.returnFlag = false;
    flag.userLoginFlag = false;
    flag.UserName = "";
*/



#endif // MAIN_H